package com.dd.cloud.user.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description: 腾讯云im即时通信参数, 返给前端调用
 * @ClassName: TencentImProperties
 * @Author: czg
 * @Date: 2023/7/8 14:13
 * @Version: 1.0     // 版本
 */
@Data
@Component
@ConfigurationProperties(prefix = "tencent.im")
public class TencentImProperties {

    /**
     * im的appid
     */
    private Long sdkappid;

    /**
     * im的秘钥
     */
    private String key;

    private Long expire;

    /**
     * 发送单聊消息的url
     */
    private String sendMsgUrl;

    /**
     * 创建im用户url
     */
    private String createUserUrl;

    /**
     * 设置用户资料
     */
    private String updateUserUrl;


}
